import Expo from 'expo';
import React, { Component } from 'react';
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';

import { StackNavigator } from 'react-navigation';
import { Icon } from 'react-native-elements';

import HomePage from '../pages/Home';
import SearchPage from '../pages/Search';

const HomeTab = StackNavigator({
  HomePage: {
    screen: HomePage,
    path: '/',
    navigationOptions: ({ navigation }) => ({
      title: '小牛行情',
      headerLeft:null
    }),
  },
  Search: {
    screen: SearchPage,
    path: '/search',
    navigationOptions: {
      title: '小牛行情',
      headerLeft:null
    },
  },
});

export default HomeTab;